 // The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.

import Vue from 'vue'
import $ from 'jquery'
import App from './App'
import router from './router'
import "lib-flexible"
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-default/index.css'

import  "./assets/style/index.css"
import './assets/style/font-awesome.css'
import axios from "axios"
Vue.prototype.axios=axios
Vue.use(ElementUI)
Vue.filter('number',value=>{
  if(value==1){
    return "完结"
  }else{
    return "未完结"
  }
})
Vue.filter('num',value=>{
  if(value>100000){
    return (value/100000).toFixed(2)+"万"
  }else{
    return value
  }
})
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
 
})
